-
Notifications
You must be signed in to change notification settings - Fork 14
Update to the waves extremal analysis notebook #139
Conversation
Bobfrat
commented
Aug 7, 2014
- Clean up notebook
- Use PYOOS to extract SOS data
- Use NetCDF4 to extract waves directly from DAP endpoint
- Read WIS data from JSON file that contains all of the WIS stations and annual maximums
- Return period plots from Obs data and WIS data
- Clean up notebook - Use PYOOS to extract SOS data - Use NetCDF4 to extract directly from DAP endpoint - Read WIS data from JSON file that contains all of the WIS stations and annual maximums
View the notebook here |
-Add timer to some of the more computationally extensive blocks of code -Reorganize the flow of the notebook to better tell the story
…into Bobfrat-extreme_waves
Conflicts: Theme_2_Extreme_Events/Scenario_2A_Coastal_Inundation/Scenario_2A_Extremes_Waves/Scenario_2A_Waves.ipynb Theme_2_Extreme_Events/Scenario_2A_Coastal_Inundation/Scenario_2A_Extremes_Waves/Scenario_2A_Waves.py Theme_2_Extreme_Events/Scenario_2A_Coastal_Inundation/Scenario_2A_Extremes_Waves/utilities.py
hs = nc.variables['wave_height'] | ||
hs_data = np.array(nc.variables['wave_height'][:,0,0]) | ||
# Replace fill values with NaN | ||
hs_data[hs_data==hs._FillValue] = numpy.nan |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be np.nan
to stay consistent.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just fixed it!
In Attempting to filter using a BBox in 0.61 returns a message that bbox filtering is not implemented. Here are the lines that create the filter and call the collector: See the diff between 0.6.1 and 0.6.2 for the problem: Perhaps we should bump the pyoos version used by conda to 0.6.2. |
Runs properly here. @birdage, care to give a quick run through before merging? |
Update to the waves extremal analysis notebook